#ifndef __CK_ENUM_GROUP_H__
#define __CK_ENUM_GROUP_H__

#include "ckobject.h"
#include "zCore.h"
#include <vector>

namespace ck
{
	namespace data
	{
		class Group;

		class ZCORE_API EnumGroup : public ckObject
		{
		public:
			EnumGroup();
			virtual ~EnumGroup();
		public:
			void		Add(Group* pCase);
			void		Reset();
			Group*		Next();
		private:
			void		Cleanup();

		private:
			std::vector<Group*>	m_groups;
			std::vector<Group*>::iterator	m_iter;
		};

	}
}

#endif //__CK_ENUM_GROUP_H__
